package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    int sava(DishDTO dishDTO);

    PageResult findPage(DishPageQueryDTO pageQueryDTO);

    void updateStatus(Integer status, Long id);

    Integer deleteByIds(List<Integer> ids) ;

    DishVO findById(Long id);

    int updateDish(DishDTO dishDTO);

    List<DishVO> findDishById(Long id);

    List<DishVO> listDishByCategoryById(Long categoryId);
}
